home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.20021006-20030409
/
000075_JDanSkinner@JDanSkinner.com_Wed Nov 13 16:14:27 EST 2002.msg
< prev
next >
Wrap
Text File
|
2003-04-08
|
2KB
|
41 lines
Article: 13841 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!newsfeed.media.kyoto-u.ac.jp!nntp-relay.ihug.net!ihug.co.nz!logbridge.uoregon.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail
From: JDanSkinner@JDanSkinner.com (Dan Skinner)
Newsgroups: comp.protocols.kermit.misc
Subject: C-Kermit FTP script
Date: 13 Nov 2002 13:01:10 -0800
Organization: http://groups.google.com/
Lines: 23
Message-ID: <8ce22d01.0211131301.2d2c8112@posting.google.com>
NNTP-Posting-Host: 24.159.192.106
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1037221271 15687 127.0.0.1 (13 Nov 2002 21:01:11 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 13 Nov 2002 21:01:11 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13841
; FTP script from Linux archive to skinner /icsdemo
set command quoting on
set login prompt
set network tcp/ip
if fail end 1 TCP/IP Failed
set input echo on
ftp open skinner /user:root /password:xxxxxx
if fail exit 1 connection failed
ftp cd /icsdemo
ftp put jdsmenuarch.tar
ftp put gbsarch.tar
quit
The script above works when the ftp open is correct.
if also works correctly (fails) if the ftp server does not exist.
It is broken if the server exists but the login fails.
IE: the put commands are issued.
I've made it as simple as I can but can't see what I'm doing wrong.
Using Linux 8.0.206 on Mandrake distro.
Skinner is SCO OpenServer 5.04 if that matters?
Any help appreciated.
Regards...Dan.